/*
 * @Date: 2023-02-27 20:40:00
 * @LastEditors: 于波
 * @LastEditTime: 2023-02-27 21:16:57
 * @Description:
 */
import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import router from './router';
import 'element-plus/dist/index.css';
import App from './App.vue';
import store from './store';
import './base.css';
import VMdEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
// @ts-ignore
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
// @ts-ignore
import createAlignPlugin from '@kangc/v-md-editor/lib/plugins/align';
// @ts-ignore
import createCopyCodePlugin from '@kangc/v-md-editor/lib/plugins/copy-code/index';
import '@kangc/v-md-editor/lib/plugins/copy-code/copy-code.css';
// Prism
// @ts-ignore
import Prism from 'prismjs';
// highlight code
import 'prismjs/components/prism-json';
import '@/assets/font/iconfont.css';
VMdEditor.use(vuepressTheme, {
    Prism,
});
VMdEditor.use(createAlignPlugin());
VMdEditor.use(createCopyCodePlugin());
const app = createApp(App);
app.use(router);
app.use(store);
app.use(ElementPlus);
app.use(VMdEditor);
app.mount('#app');
